﻿using Dyao.Book.Contract;

namespace Dyao.Book.Application.Abstractions
{
    public interface IBookSourceWarehouseManager
    {
        /// <summary>
        /// 从缓存获取源仓库集合
        /// </summary>
        /// <param name="cancellationToken">取消令牌</param>
        /// <returns></returns>
        Task<List<BookSourceWarehouseDto>> GetSourceWarehousesForCacheAsync(CancellationToken cancellationToken);
    }
}
